<nav class="navbar navbar-default cf-navbar">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="cf-logo  navbar-left" href="#">
                <img alt="Logo" ng-src="{{::navbar.logo}}">
                <span class="divider-vertical"></span>
                <span>官方管理后台</span>
            </a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1" ng-if="navbar.login">
            <form class="navbar-right" role="search">
                <!-- <button class="btn btn-default cf-button-default" data-ng-click="navbar.logout()">退出</button>-->
                <ul class="nav navbar-nav">
                    <li class="hadLogined-info dropdown " >   
                        <div class="btn-group " uib-dropdown dropdown-append-to-body >
                            <button id="btn-append-to-body" type="button" class=" btn cf-button-default" uib-dropdown-toggle>
                                <span class='icon-list'></span>
                            </button>
                            <ul uib-dropdown-menu role="menu" aria-labelledby="btn-append-to-body">
                                <li role="menuitem">
                                    <a class="btn btn-link " data-ng-click="navbar.Logout()">退出</a>
                                </li>
                            </ul>
                        </div>
                    </li>
                </ul>
            </form>
        </div>
    </div>
    <!-- 弹窗 -->
    <script type="text/ng-template" id="InfoModel">
            <div class="modal-info" data-ng-class="{'error':type=='error','success':type=='success','info':type=='info'}">
                <span><i  data-ng-class="{'glyphicon glyphicon-remove':type=='error','glyphicon glyphicon-ok':type=='success','glyphicon glyphicon-minus':type=='info'}"></i></span>
                <h3 class="text-center modal-title" data-ng-bind="::info"></h3>
            </div>
    </script>
    <!-- 图片弹窗 -->
    <script type="text/ng-template" id="ReviewImgModel">
            <div class="modal-header" data-ng-click="cancel()">
                <img ng-src="{{path}}" alt=""></div>
    </script>
    <!-- 确认弹窗 -->
    <script type="text/ng-template" id="EnsureModel">
        <div class="modal-header">
            <h3 class="text-center modal-title">确认<span ng-bind='::item'></span></h3>
        </div>
        <div class="modal-footer">
            <a class="btn btn-danger pull-right" ng-click="ok()">确定</a>
            <a class="btn btn-default pull-left" ng-click="cancel()">取消</a>
        </div>
    </script>
    <!-- 选择弹窗 -->
    <script type="text/ng-template" id="SelectModel">
        <div class="modal-header"><h2 class="text-center">行业列表</h2></div>

        <form class="modal-body clearfix">
                <div class="col-xs-6">
                    <select class="form-control" ng-change='initSecondData()' data-ng-model='field.firstField' data-ng-options="g.id as g.name for g in field.firstFieldList"></select>
                </div>
                <div class="col-xs-6">
                    <select class="form-control"  data-ng-model='field.secondField' data-ng-options="g.id as g.name for g in field.secondFieldList"></select>
                </div>
                                
                        
        </form>
        <div class="modal-footer">
            <a class="btn btn-danger pull-right" ng-click="ok()">确定</a>
            <a class="btn btn-default pull-left" ng-click="cancel()">取消</a>
        </div>
    </script>
    <!-- 输入弹窗 -->
    <script type="text/ng-template" id="TextModel">
        <div class="modal-header"><h2 class="text-center">否决备注</h2></div>

        <form class="modal-body clearfix">
                <div class="col-xs-12">
                    <input type="text" data-ng-model="info" placeholder="请输入否决理由" class="form-control" data-ng-class="{'border-color':hasError}"></div>
        </form>
        <div class="modal-footer">
            <a class="btn btn-danger pull-right" ng-click="ok()">确定</a>
            <a class="btn btn-default pull-left" ng-click="cancel()">取消</a>
        </div>
    </script>
</nav>